<g:if test="${dataList.size() > 0}">
    <meta charset="utf-8" />
    <style type="text/css">
    tr, th, td {
        text-align: center;
    }
    </style>
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50">NO.</th>
            <g:each in="${tableHeadList}" status="i" var="headInstance">
                <g:if test="${headInstance != 'RN'}">
                    <th><g:message code="${headInstance}" default="${headInstance}"/></th>
                </g:if>
            </g:each>
        </tr>
        </thead>
        <tbody>
        <g:each in="${dataList}" status="i" var="dataInstance">
            <tr>
                <td>${i + 1}</td>
                <g:each in="${tableHeadList}" status="j" var="headInstance">
                    <g:if test="${headInstance != 'RN'}">
                        <td>${dataInstance["${headInstance}"]}</td>
                    </g:if>
                </g:each>
            </tr>
        </g:each>
        </tbody>
    </table>
</g:if>
<g:else>
    <g:render template="../template/emptyPanel"/>
</g:else>